package tw.com.msig.b2c.car.insurance.vo;

import java.sql.Timestamp;
import java.util.Set;

import tw.com.msig.b2c.car.common.vo.BaseVo;

public class PolicyVo extends BaseVo {

	private String policyNo;
	private Timestamp begDate;
	private Timestamp endDate;
	
	private String ident;
	private String idNo;
	private String name;
	private Timestamp birDate;
	private String carTypeCode;
	private String licenseNo;
	
	private Set<InsItemVo> insItemVos;
	
	
	public String getPolicyNo() {
		return policyNo;
	}
	public void setPolicyNo(String policyNo) {
		this.policyNo = policyNo;
	}
	public Timestamp getBegDate() {
		return begDate;
	}
	public void setBegDate(Timestamp begDate) {
		this.begDate = begDate;
	}
	public Timestamp getEndDate() {
		return endDate;
	}
	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}
	public String getIdent() {
		return ident;
	}
	public void setIdent(String ident) {
		this.ident = ident;
	}
	public String getIdNo() {
		return idNo;
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Timestamp getBirDate() {
		return birDate;
	}
	public void setBirDate(Timestamp birDate) {
		this.birDate = birDate;
	}
	public String getCarTypeCode() {
		return carTypeCode;
	}
	public void setCarTypeCode(String carTypeCode) {
		this.carTypeCode = carTypeCode;
	}
	public String getLicenseNo() {
		return licenseNo;
	}
	public void setLicenseNo(String licenseNo) {
		this.licenseNo = licenseNo;
	}
	public Set<InsItemVo> getInsItemVos() {
		return insItemVos;
	}
	public void setInsItemVos(Set<InsItemVo> insItemVos) {
		this.insItemVos = insItemVos;
	}
	@Override
	public String toString() {
		return "PolicyVo [id=" + id + ", creator=" + creator + ", createTime="
				+ createTime + ", modifier=" + modifier + ", modifyTime="
				+ modifyTime + ", policyNo=" + policyNo + ", begDate="
				+ begDate + ", endDate=" + endDate + ", ident=" + ident
				+ ", idNo=" + idNo + ", name=" + name + ", birDate=" + birDate
				+ ", carTypeCode=" + carTypeCode + ", licenseNo=" + licenseNo
				+ ", insItemVos=" + insItemVos + "]";
	}
	
}
